import Vue from 'vue'
import Router from 'vue-router'
import UserCenter from '../components/UserCenter'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect: 'center' },
    { path: '/center', name: 'center', component: UserCenter }
  ]
})
